package com.fire.user.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 业务表
 * </p>
 *
 * @author raoyuxing123
 * @since 2018-08-14
 */
@TableName("t_mit_service_code")
public class ServiceCode extends Model<ServiceCode> {

    private static final long serialVersionUID = 1L;

    /**
     * sc+序列 key index
     */
    private String servicecode;
    /**
     * 用户号
     */
    private String servicename;
    /**
     * 渠道标示 key
     */
    private String channelmark;
    /**
     * 渠道名称
     */
    private String channelname;
    /**
     * Md5(Channelmark+servicecode)32位
     */
    private String uaencryptsc;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 0:页面登录 1:微信登录 2:统一认证登录
     */
    private Integer logintype;
    /**
     * 入口地址
     */
    private String eurl;
    /**
     * 跳转地址
     */
    private String turl;


    public String getServicecode() {
        return servicecode;
    }

    public void setServicecode(String servicecode) {
        this.servicecode = servicecode;
    }

    public String getServicename() {
        return servicename;
    }

    public void setServicename(String servicename) {
        this.servicename = servicename;
    }

    public String getChannelmark() {
        return channelmark;
    }

    public void setChannelmark(String channelmark) {
        this.channelmark = channelmark;
    }

    public String getChannelname() {
        return channelname;
    }

    public void setChannelname(String channelname) {
        this.channelname = channelname;
    }

    public String getUaencryptsc() {
        return uaencryptsc;
    }

    public void setUaencryptsc(String uaencryptsc) {
        this.uaencryptsc = uaencryptsc;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getLogintype() {
        return logintype;
    }

    public void setLogintype(Integer logintype) {
        this.logintype = logintype;
    }

    public String getEurl() {
        return eurl;
    }

    public void setEurl(String eurl) {
        this.eurl = eurl;
    }

    public String getTurl() {
        return turl;
    }

    public void setTurl(String turl) {
        this.turl = turl;
    }

    @Override
    protected Serializable pkVal() {
        return this.servicecode;
    }

    @Override
    public String toString() {
        return "ServiceCode{" +
        "servicecode=" + servicecode +
        ", servicename=" + servicename +
        ", channelmark=" + channelmark +
        ", channelname=" + channelname +
        ", uaencryptsc=" + uaencryptsc +
        ", createtime=" + createtime +
        ", logintype=" + logintype +
        ", eurl=" + eurl +
        ", turl=" + turl +
        "}";
    }
}
